<template>
	<view class="box">
		<view v-for="(item,key) in getGoods" :key="key" class="da">
			<view class="ss">{{item.title}}</view>
			<view class="xiao">{{item.item}}</view>

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				getGoods: []

			}
		},
		onLoad() {
			this.getList()
		},
		methods: {
			getList() {
				uni.request({
					url: 'http://172.27.6.151:32112/api/get/SystemMessages',
					method: 'GET',
					success: (res) => {
						console.log('33', res);
						this.getGoods = res.data.data
					}
				})
			}

		}
	}
</script>

<style>
	.da {
		width: 640rpx;
		height: 150rpx;
		border: 1px solid #ccc;
		position: relative;
		margin-left: 35rpx;
		margin-top: 30rpx;
		padding: 0 25rpx;
	}

	.ss {
		padding-top: 15rpx;
	}

	.xiao {
		position: absolute;
		right: 5rpx;
		bottom: 30rpx;
	}
</style>